package com.promise.jokerdream.response.pc

import com.promise.jokerdream.model.knight.KnightLnnRoomModel
import kotlinx.serialization.Serializable

// 查询侠士客栈大堂信息
@Serializable
data class QueryKnightLnnLobbyPCResponse(
    override val result: Int,
    override val msg: String = "",
    // 是否开启迎客，0为关闭，1为开启
    val isOpen: Int = 0,
    // 是否已领奖，0为未领取、1为已领取
    val draw: List<Int> = emptyList()
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

// 查询侠士客栈房间信息
@Serializable
data class QueryKnightLnnRoomPCResponse(
    override val result: Int,
    override val msg: String = "",
    // 是否开启迎客，0为关闭，1为开启
    val isOpen: Int = 0,
    // 房间列表
    val room: List<KnightLnnRoomModel> = emptyList()
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}
